<?php

$ranges = array(654311424 => array(654311679, 'CN'), 654311680 => array(654311935, 'AU'), 654311936 => array(654319615, 'CN'), 654312448 => array(654327807, 'CN'), 654313472 => array(654344191, 'CN'), 654315520 => array(654376959, 'CN'), 654376960 => array(654442495, 'TW'), 654442496 => array(654573567, 'JP'), 654573568 => array(654835711, 'KR'), 654835712 => array(655359999, 'TW'), 655360000 => array(656408575, 'KR'), 656408576 => array(658505727, 'PK'), 658505728 => array(660602879, 'CN'), 660602880 => array(661651455, 'HK'), 661651456 => array(662700031, 'KR'), 662700032 => array(666894335, 'CN'), 666894336 => array(671088639, 'ID'));